﻿

<div id="progress" style="display:none" align="center">
    <br/>
    <img src="@Url.Content("~/Content/images/ajax-loader-blue.gif")" />
</div>

<script language="javascript" type="text/javascript">
    
    function showProgress() {

        var dialogObject = $("#progress");

        dialogObject.dialog({
            closeOnEscape: true,
            autoOpen: true,
            resizable: false,
            modal: false,
            width: 250
        }).parents(".ui-dialog").find(".ui-dialog-titlebar").remove();

    }

    function hideProgress() {
        $("#progress").dialog("close");
    }
</script>
